﻿using System.Net;
using CommandSet.api;


namespace CommandSet.utils
{
    internal class NetUtil
    {
        /// <summary>
        /// 下载最新的cmd内容
        /// </summary>
        public static void downloadTheLatestContent(string path)
        {
            using (WebClient client = new WebClient())
            {
                client.DownloadFile(UrlApi.cache_url, path);
            }
        }
    }
}
